// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.

import { DelonMockModule } from '@delon/mock';
import { Environment } from '@delon/theme';
import * as MOCKDATA from '../../_mock';

export const environment = {
  production: false,
  useHash: true,
  uploadUrl: 'http://localhost:8089/pets/upload',
  dict: {
    volunteerStat: 'volunteer_stat', //志愿者状态
    animalType: 'animal_type', //动物种类
    stationStat: 'station_stat', //驿站状态
  },
  yesNo: [
    {
      key: 1,
      value: '是',
    },
    {
      key: 0,
      value: '否',
    },
  ],
  api: {
    baseUrl: './',
    refreshTokenEnabled: true,
    refreshTokenType: 'auth-refresh',
  },
  modules: [DelonMockModule.forRoot({ data: MOCKDATA })],
};

/*
 * In development mode, to ignore zone related error stack frames such as
 * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can
 * import the following file, but please comment it out in production mode
 * because it will have performance impact when throw error
 */
// import 'zone.js/dist/zone-error';  // Included with Angular CLI.
